﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<GabageFactory.Models.tailingpond_daily_ditch_info>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	初期坝及挡水坝（每日）
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div id="dolphincontainer">
	    <div id="dolphinnav">
	        <ul>
                <li><a href="/Record/TailingpondWater/<%:ViewData["id"] %>"><span>水位及水质</span></a></li>
                <li><a href="/Record/TailingpondBackWater/<%:ViewData["id"] %>"><span>进浆及回水</span></a></li>
                <li><a href="javascript:return(false);" class="current"><span>初期坝及挡水坝</span></a></li>
                <li><a href="/Record/TailingpondFilldam/<%:ViewData["id"] %>"><span>尾矿堆积坝</span></a></li>
                <li><a href="/Record/TailingpondWeather/<%:ViewData["id"] %>"><span>气象信息</span></a></li>
	        </ul>
	    </div>
	</div>

    <%
           bool result = (bool)ViewData["success"];
           if(result){ 
        %>
           <div style="margin-top:20px;font-weight:bold;color:blue;text-align:center">初期坝及挡水坝更新成功</div>
        <%
        }
        %>

    <% using (Html.BeginForm())
    {%>
        <%: Html.ValidationSummary(true) %>
        <%: Html.HiddenFor(model => model.tailingpond_id) %>
        <%: Html.HiddenFor(model => model.date) %>
            
    <table class="tableCss" cellspacing="0" cellpadding="0" align="center" border="0" style="margin-top:10px;">
        <tr>
            <th colspan="2" class="heightrow" align="center" style="text-align:center">
                初期坝及挡水坝（每日）
            </th>
        </tr>
        <tr>
            <td class="row1" align="left" colspan="2" style="padding-top:20px;padding-left:20px">初期坝脚有无冒浆迹象：</td>
        </tr>

        <tr>
            <td colspan="2" class="row1" style="padding-left:20px">
                <span><input type="radio" name="is_dike_footer_leaked" value="0" <%if (Model.is_dike_footer_leaked == 0){ %> checked="checked"<%} %>/>无</span>
            </td>
         </tr>
         <tr>
            <td colspan="2" class="row1" style="padding-left:20px">
                <span><input type="radio" name="is_dike_footer_leaked" value="1" <%if (Model.is_dike_footer_leaked == 1){ %> checked="checked"<%} %>/>有</span>
            </td>
        </tr>
        <tr>
            <td colspan="2" class="row1" style="padding-left:20px">
                <%: Html.TextAreaFor(model => model.dike_footer_leaked_desc, new { cols = "80", rows = "6" })%>
                <%: Html.ValidationMessageFor(model => model.dike_footer_leaked_desc)%>
            </td>
        </tr>
        
        <tr>
            <td class="row1" align="left" colspan="2" style="padding-top:20px;padding-left:20px">挡水坝坡脚有无管涌迹象：</td>
        </tr>

        <tr>
            <td colspan="2" class="row1" style="padding-left:20px">
                <span><input type="radio" name="is_ditch_footer_leaked" value="0" <%if (Model.is_ditch_footer_leaked == 0){ %> checked="checked"<%} %>/>无</span>
            </td>
         </tr>
         <tr>
            <td colspan="2" class="row1" style="padding-left:20px">
                <span><input type="radio" name="is_ditch_footer_leaked" value="1" <%if (Model.is_ditch_footer_leaked == 1){ %> checked="checked"<%} %>/>有</span>
            </td>
        </tr>
        <tr>
            <td colspan="2" class="row1" style="padding-left:20px">
                <%: Html.TextAreaFor(model => model.ditch_footer_leaked_desc, new { cols = "80", rows = "6" })%>
                <%: Html.ValidationMessageFor(model => model.ditch_footer_leaked_desc)%>
            </td>
        </tr>


        <tr>
            <td class="row1" align="left" colspan="2" style="padding-top:20px;padding-left:20px">挡水坝肩有无出水现象：</td>
        </tr>

        <tr>
            <td colspan="2" class="row1" style="padding-left:20px">
                <span><input type="radio" name="is_ditch_bear_leaked" value="0" <%if (Model.is_ditch_bear_leaked == 0){ %> checked="checked"<%} %>/>无</span>
            </td>
         </tr>
         <tr>
            <td colspan="2" class="row1" style="padding-left:20px">
                <span><input type="radio" name="is_ditch_bear_leaked" value="1" <%if (Model.is_ditch_bear_leaked == 1){ %> checked="checked"<%} %>/>有</span>
            </td>
        </tr>
        <tr>
            <td colspan="2" class="row1" style="padding-left:20px">
                <%: Html.TextAreaFor(model => model.ditch_bear_leaked_desc, new { cols = "80", rows = "6" })%>
                <%: Html.ValidationMessageFor(model => model.ditch_bear_leaked_desc)%>
            </td>
        </tr>


        <tr>
            <td class="row1" align="left" colspan="2" style="padding-top:20px;padding-left:20px">初期坝上游坝面土工布是否完整：</td>
        </tr>

        <tr>
            <td colspan="2" class="row1" style="padding-left:20px">
                <span><input type="radio" name="is_dike_upstream_completed" value="0" <%if (Model.is_dike_upstream_completed == 0){ %> checked="checked"<%} %>/>无</span>
            </td>
         </tr>
         <tr>
            <td colspan="2" class="row1" style="padding-left:20px">
                <span><input type="radio" name="is_dike_upstream_completed" value="1" <%if (Model.is_dike_upstream_completed == 1){ %> checked="checked"<%} %>/>有</span>
            </td>
        </tr>
        <tr>
            <td colspan="2" class="row1" style="padding-left:20px">
                <%: Html.TextAreaFor(model => model.dike_upstream_completed_desc, new { cols = "80", rows = "6" })%>
                <%: Html.ValidationMessageFor(model => model.dike_upstream_completed_desc)%>
            </td>
        </tr>
    </table>
    <div style="margin-top:25px;text-align:center">
        <input type="submit" value="提    交" style="font-size:16px;font-weight:bold" />
    </div>
    <% } %>
</asp:Content>
